package com.hxd.otc.module.wallet.bean;

import java.io.Serializable;

/**
 * Created by lzy on 2018/8/21 0021.
 * description ${创建订单Bean}
 */
public class CreateOrderBean implements Serializable {
    private String coinType;
    private double amount;
    private String orderId;
    private String merchantName;
    private String pushUrl;
    private String rewriteUrl;

    public CreateOrderBean(String coinType, double amount, String orderId, String merchantName, String pushUrl, String rewriteUrl) {
        this.coinType = coinType;
        this.amount = amount;
        this.orderId = orderId;
        this.merchantName = merchantName;
        this.pushUrl = pushUrl;
        this.rewriteUrl = rewriteUrl;
    }

    public String getCoinType() {
        return coinType;
    }

    public void setCoinType(String coinType) {
        this.coinType = coinType;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getPushUrl() {
        return pushUrl;
    }

    public void setPushUrl(String pushUrl) {
        this.pushUrl = pushUrl;
    }

    public String getRewriteUrl() {
        return rewriteUrl;
    }

    public void setRewriteUrl(String rewriteUrl) {
        this.rewriteUrl = rewriteUrl;
    }

    @Override
    public String toString() {
        return "CreateOrderBean{" +
                "coinType='" + coinType + '\'' +
                ", amount=" + amount +
                ", orderId='" + orderId + '\'' +
                ", merchantName='" + merchantName + '\'' +
                ", pushUrl='" + pushUrl + '\'' +
                ", rewriteUrl='" + rewriteUrl + '\'' +
                '}';
    }
}
